package com.example.gulimallmember.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 会员收藏的商品
 * 
 * @author zzl
 * @email zzl@gmail.com
 * @date 2025-10-27 08:51:23
 */

@TableName("ums_member_collect_spu")
public class MemberCollectSpuEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	private Long id;
	/**
	 * 会员id
	 */
	private Long memberId;
	/**
	 * spu_id
	 */
	private Long spuId;
	/**
	 * spu_name
	 */
	private String spuName;
	/**
	 * spu_img
	 */
	private String spuImg;
	/**
	 * create_time
	 */
	private Date createTime;

	public MemberCollectSpuEntity() {
	}

	public MemberCollectSpuEntity(Long id, Long memberId, Long spuId, String spuName, String spuImg, Date createTime) {
		this.id = id;
		this.memberId = memberId;
		this.spuId = spuId;
		this.spuName = spuName;
		this.spuImg = spuImg;
		this.createTime = createTime;
	}

	/**
	 * 获取
	 * @return id
	 */
	public Long getId() {
		return id;
	}

	/**
	 * 设置
	 * @param id
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * 获取
	 * @return memberId
	 */
	public Long getMemberId() {
		return memberId;
	}

	/**
	 * 设置
	 * @param memberId
	 */
	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}

	/**
	 * 获取
	 * @return spuId
	 */
	public Long getSpuId() {
		return spuId;
	}

	/**
	 * 设置
	 * @param spuId
	 */
	public void setSpuId(Long spuId) {
		this.spuId = spuId;
	}

	/**
	 * 获取
	 * @return spuName
	 */
	public String getSpuName() {
		return spuName;
	}

	/**
	 * 设置
	 * @param spuName
	 */
	public void setSpuName(String spuName) {
		this.spuName = spuName;
	}

	/**
	 * 获取
	 * @return spuImg
	 */
	public String getSpuImg() {
		return spuImg;
	}

	/**
	 * 设置
	 * @param spuImg
	 */
	public void setSpuImg(String spuImg) {
		this.spuImg = spuImg;
	}

	/**
	 * 获取
	 * @return createTime
	 */
	public Date getCreateTime() {
		return createTime;
	}

	/**
	 * 设置
	 * @param createTime
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String toString() {
		return "MemberCollectSpuEntity{serialVersionUID = " + serialVersionUID + ", id = " + id + ", memberId = " + memberId + ", spuId = " + spuId + ", spuName = " + spuName + ", spuImg = " + spuImg + ", createTime = " + createTime + "}";
	}
}
